package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2024-05-03
 * Time: 11:09
 */
@Controller
@ResponseBody
public class TestController {
    @GetMapping("/test")
    public String testController() {
        return "hello SpringBoot!";
    }

}
